﻿@model CharacterCreation.Business.ViewModels.VMCharacterStatistic
@{
    string name = Model.Name;
    int total = Model.RolledValue + Model.MovedValue + Model.RaceBonus;
}

<tr>

    @Html.HiddenFor(m => m.Id)
    @Html.HiddenFor(m => m.CharacterId)
    @Html.HiddenFor(m => m.Name)
    @Html.HiddenFor(m => m.OrderIndex)

    <td>
        @Html.ActionLink(name, "StatisticDetail", new { characterStatisticId = Model.Id })
    </td>
    <td>
        @total.ToString()
    </td>
    <td>
        @Model.TotalXP
    </td>
   
    <td>
        @Html.DisplayFor(m => m.Information)
    </td>
   
</tr>